home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1-sources / sources / misc-headers / errno.h next >
Encoding:
C/C++ Source or Header  |  1994-05-14  |  746 b   |  37 lines  |  [TEXT/EMAC]

  1. /*
  2.  * errno.h
  3.  *
  4.  *
  5.  * This file is part of a Macintosh port of GNU Emacs.
  6.  * Copyright (C) 1993, 1994 Marc Parmet.  All rights reserved.
  7.  *
  8.  * GNU Emacs is distributed in the hope that it will be useful,
  9.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11.  * GNU General Public License for more details.
  12.  *
  13.  */
  14.  
  15. #ifndef __ERRNO__
  16. #define __ERRNO__
  17.  
  18. extern int errno;
  19.  
  20. #define EUNDOC    1
  21. #define ENOTDIR    2
  22. #define ERANGE    3
  23. #define EXDEV    4
  24. #define EINTR    5
  25. #define ENOENT    6
  26. #define EACCES    7
  27. #define EBADF    8
  28. #define EEXIST    9
  29. #define EEOF    10
  30. #define EDIRNE    11
  31. #define EPERM    12
  32. #define EINVAL    13
  33.  
  34. #define NERR    14 /* One more than the greatest number of any error */
  35.  
  36. #endif
  37.